$(function() {
	initOrderInfo();
	//极速电话订单展示
		function initOrderInfo() {
			var orderid = utilModule.getQueryString("orderid");
			if(utilModule.checkUndefined(orderid) != "") {
				/*mui.alert("参数不能为空", "提示");
				return false;*/
				var params = {
					id: orderid
				};
				speePhoneOrderModule.queryOrderDetail(params,function(callBack) {
					console.log(callBack);
					var $sex = callBack.patientSex;
					if(callBack.patientSex==1){
						$sex = "男";
					}else{
						$sex = "女";
					}
					$(".phone-infor span").text(callBack.patientName + "  "+ $sex + "  "+callBack.age+"岁");
					$(".phone-num span").text(callBack.answerMobile);
					$(".order-total span").text("¥ "+callBack.orderAmount+"元");
					$(".sumbit .submit-order").on("tap",function(){
						location.href = "rapidly-pay.html?orderid="+callBack.id;
					})
				});
			}		
		}
});